.class Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;
.super Ljava/lang/Object;
.source "MediaControlPanelEditMode.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;)V
    .locals 0
    .parameter

    .prologue
    .line 145
    iput-object p1, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2
    .parameter "dialog"
    .parameter "which"

    .prologue
    const/4 v1, 0x0

    .line 146
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 147
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->mRecorder:Lcom/htc/android/footprints/utils/voice/Recorder;

    invoke-virtual {v0}, Lcom/htc/android/footprints/utils/voice/Recorder;->delete()V

    .line 148
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;

    if-eqz v0, :cond_0

    .line 149
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;

    iput-object v1, v0, Lcom/htc/android/footprints/vo/Footprint;->mAudioPath:Ljava/lang/String;

    .line 150
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->mFootprint:Lcom/htc/android/footprints/vo/Footprint;

    iput-object v1, v0, Lcom/htc/android/footprints/vo/Footprint;->mAudioFileName:Ljava/lang/String;

    .line 151
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->mProgress:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 152
    iget-object v0, p0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2$2;->this$1:Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;

    iget-object v0, v0, Lcom/htc/android/footprints/view/MediaControlPanelEditMode$2;->this$0:Lcom/htc/android/footprints/view/MediaControlPanelEditMode;

    #calls: Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->updateUI()V
    invoke-static {v0}, Lcom/htc/android/footprints/view/MediaControlPanelEditMode;->access$200(Lcom/htc/android/footprints/view/MediaControlPanelEditMode;)V

    .line 154
    :cond_0
    return-void
.end method
